#!/bin/bash
#
# Copyright (C) 2009 Matteo Merli <mm@merlimat.org>
# 
# $Id: generate.sh 13 2009-01-04 11:30:49Z matteo.merli $
# $URL: http://pxl-lang.googlecode.com/svn/trunk/generate.sh $
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#         http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

export CLASSPATH=target/classes:~/.m2/repository/org/antlr/antlr/3.1.1/antlr-3.1.1.jar:~/.m2/repository/org/antlr/stringtemplate/3.1-b1/stringtemplate-3.1-b1.jar:~/.m2/repository/jline/jline/0.9.1/jline-0.9.1.jar

java org.antlr.Tool -fo src/main/java/pxl/grammar/classes src/main/antlr/Pxl.g src/main/antlr/PxlTreeWalker.g
